WPJoli\SAFI\Controllers\TemplatesController C

Total Complexity 120
Dependencies 1
Dependents 5
Total lines 740
Lines of code 481
Logical lines of code 269
Comment lines 232
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
ajaxTemplatesRouteAction()
D
18
66 228
getStarterTemplates()
A
47 10 34
createTemplateThumbnail()
S
45 5 45
updateTemplate()
S
53 5 23
reorderTemplates()
S
58 4 17
copyTemplateThumbnail()
S
59 4 15
importTemplate()
S
59 4 15
getTemplates()
S
62 4 13
addTemplate()
S
56 3 19
duplicateTemplate()
S
56 3 19
deleteTemplate()
S
58 3 17
deleteTemplateThumbnail()
S
66 2 8
pullTemplates()
S
67 2 8
pullTemplatesScreenshots()
S
67 2 8
__construct()
S
71 1 6
pushTemplates()
S
79 1 3
pushTemplatesScreenshots()
S
79 1 3